Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Update doc for filter "number" (default is 3 decimal) #3157

Closed
wants to merge 1 commit into from
Closed

Update doc for filter "number" (default is 3 decimal) #3157

wants to merge 1 commit into from

Conversation

LaurentMox
Copy link

No description provided.

petebacondarwin added a commit that referenced this pull request Jul 8, 2013
The default fraction size for the number filter is actually computed
from the `NUMBER_FORMATS.PATTERNS.maxFrac` value in the current locale.

Closes #3157
@petebacondarwin
Copy link
Contributor

@LaurentMox - thanks for reporting this error.
Strictly, this value is locale dependent, it happens that the default locale sets maxFrac to 3.
I have reworked a commit for this. Let me know if it doesn't make sense for you.

@LaurentMox
Copy link
Author

@petebacondarwin - It make perfect sense ! Thanks for explaining !

@LaurentMox LaurentMox deleted the patch-1 branch July 8, 2013 10:28
ctrahey pushed a commit to ctrahey/angular.js that referenced this pull request Jul 22, 2013
The default fraction size for the number filter is actually computed
from the `NUMBER_FORMATS.PATTERNS.maxFrac` value in the current locale.

Closes angular#3157
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants